//
//  UIViewController+HiddenKeyBoard.m
//  WBusiness
//
//  Created by huangzhen on 2017/2/7.
//  Copyright © 2017年 huangzhen. All rights reserved.
//

#import "UIViewController+HiddenKeyBoard.h"

@implementation UIViewController (HiddenKeyBoard)

- (void)hiddenKeyBoard {
    UITextField *tempTextField = [[UITextField alloc]initWithFrame:CGRectZero];
    [self.view addSubview:tempTextField];
    [tempTextField becomeFirstResponder];
    [tempTextField removeFromSuperview];
}
@end
